package req

type SendSmsReq struct {
	Mobile int `json:"mobile" form:"mobile"  binding:"required"`
}
type Login struct {
	Mobile int `json:"mobile" form:"mobile"  binding:"required"`
	Code   int `json:"code" form:"code"  binding:"required"`
}
type Upload struct {
}

// 帖子发布
type PostAddReq struct {
	UserId  int    `json:"user_id" form:"user_id"  binding:"required"`
	Title   string `json:"title" form:"title"  binding:"required"`
	Content string `json:"content" form:"content"  binding:"required"`
	Image   string `json:"image" form:"image"  binding:"required"`
	//权限
	Permission int `json:"permission" form:"permission"  binding:"required"`
}

// 帖子列表
type PostListReq struct {
	Type int `json:"type" form:"type"  binding:"required"`
}

// 关注
type UserReal struct {
	DistId int `json:"dist_id" form:"dist_id"  binding:"required"`
}

// 评论
type CommentReq struct {
	VideoId int    `json:"video_id" form:"video_id"  binding:"required"`
	Content string `json:"content" form:"content"  binding:"required"`
}

// 点赞
type LikeAdd struct {
	UserId int `json:"user_id" form:"user_id"  binding:"required"`
	DistId int `json:"dist_id" form:"dist_id"  binding:"required"`
}

// 帖子详情
type PostShow struct {
	PotId int `json:"pot_id" form:"pot_id"  binding:"required"`
}

// 个人中心
type UserShow struct {
	UserId int `json:"user_id" form:"user_id"  binding:"required"`
}

// 个人信息更新
type UserUpdate struct {
	UserId   int    `json:"user_id" form:"user_id"  binding:"required"`
	Mobile   int    `json:"mobile" form:"mobile"  binding:"required"`
	HeadImg  string `json:"head_img" form:"head_img" binding:"required"`
	NickName string `json:"nick_name" form:"nick_name"  binding:"required"`
}
